Inside Macintosh: QuickTime

Previous | Chapter Top | Chapter Contents | Next

The Compressor Name List Structure

The compressor name list structure contains a list of compressor name structures. (A compressor name structure identifies a compressor or decompressor component.) The data structure contains name and type information for the component. The GetCodecNameList function returns an array of these structures, formatted into a compressor name list structure. See GetCodecNameList for more information on the GetCodecNameList function. The CodecNameSpecList data type defines a compressor name list structure.

/* compressor name list structure */
struct CodecNameSpecList {
    short count;        /* how many compressor name structures */
    CodecNameSpec list[1];          
                        /* array of compressor name structures */
};
typedef struct CodecNameSpecList CodecNameSpecList;
typedef CodecNameSpecList *CodecNameSpecListPtr;
count
Indicates the number of compressor name structures contained in the list array that follows.
list
Contains an array of compressor name structures. Each structure corresponds to one compressor component or type that meets the selection criteria your application specifies when it issues the GetCodecNameList function. The count field indicates the number of structures stored in this array.

© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next